Release 10.1A: OpenEdge Application Server:
Administration
ASBMAN
Starts, stops, adds AppServer agents, trims AppServer agents, and queries the status for an AppServer instance and its AppServer agent.Syntax
-nameAppServer-nameThis parameter is required. It specifies the name of an AppServer.
-killStops and removes the AppServer from memory, no matter what it is doing.
-startStarts an AppServer.
-stopTells the NameServer to stop itself.
Note: The AppServer stops only after completing any active client requests.-queryQueries an AppServer for its status.
-addserversnumber-to-startSpecifies the number of additional servers to start.
-trimserversnumber-to-trimSpecifies the number of additional servers to trim.
-hosthost-nameSpecifies the name of the machine where the AdminServer is running. If a host name is not specified, it defaults to the local host name.
-useruser-nameSpecifies a user name and prompts for a password. A user name and password are required only when you use the
-hostparameter and specify a remote host name. If you specify a remote host name with the-hostparameter but do not specify a user name with the-userparameter, you receive a prompt for a user name and password.Windows supports three different formats for
user-name:
- A user name as a simple text string, such as
“mary”, implies a local user whose user account is defined on the local Windows server machine, which is the same machine that runs the AdminServer.- A user name as an explicit local user name, in which the user account is defined on the same machine that runs the AdminServer, except the user name explicitly references the local machine domain, for example
“.\mary”.- A user name as a user account on a specific Windows domain. The general format is
Domain\User, in which theUseris a valid user account defined within the domain and theDomainis any valid Windows Server, including the one where the AdminServer is running.-portport-numberSpecifies the port number of the machine on which the AdminServer is running. If a port number is not specified, it defaults to 20931.
-helpDisplays command-line help.
ExamplesTable B–2 shows several examples that use the
ASBMANcommand. Assume the AppServer instance isAS1and the NameServer isNS1.
Table B–2: ASBMAN command examples Task Command Start a local AppServer instance after starting the local controlling NameServer. Start a remote AppServer instance after starting a remote controlling NameServer.1Stop a local AppServer instance (
AS1) and its controlling NameServer instance (NS1).
1The AppServer and controlling NameServer are on different hosts and happen to use the same TCP/IP port number to access the AdminServer on each host. If you specify a host, the Progress Explorer always prompts for a user name (if necessary) and password. In this example, the commands specify the user name and prompt only for the password.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |